package com.vivid.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预测表对象 prediction
 *
 * @author vivid
 * @date 2022-08-09
 */
public class Prediction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预测id */
    private Long predictionId;

    /** 预测文件的绝对路径 */
    @Excel(name = "预测文件的绝对路径")
    private String predictionFilePath;

    /** 预测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @Excel(name = "预测时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date predictionTime;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;
    /** 用户id */
    @Excel(name = "模型名")
    private String modelName;

    /** 用户信息管理信息 */
    private List<User> userList;

    public void setPredictionId(Long predictionId)
    {
        this.predictionId = predictionId;
    }

    public Long getPredictionId()
    {
        return predictionId;
    }
    public void setPredictionFilePath(String predictionFilePath)
    {
        this.predictionFilePath = predictionFilePath;
    }

    public String getPredictionFilePath()
    {
        return predictionFilePath;
    }
    public void setPredictionTime(Date predictionTime)
    {
        this.predictionTime = predictionTime;
    }

    public Date getPredictionTime()
    {
        return predictionTime;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public List<User> getUserList()
    {
        return userList;
    }

    public void setUserList(List<User> userList)
    {
        this.userList = userList;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    @Override
    public String toString() {
        return "Prediction{" +
                "predictionId=" + predictionId +
                ", predictionFilePath='" + predictionFilePath + '\'' +
                ", predictionTime=" + predictionTime +
                ", userId=" + userId +
                ", modelName='" + modelName + '\'' +
                ", userList=" + userList +
                '}';
    }
}
